    //注册的手势验证
        vaptcha({
            vid: '5f794d9d51fc91b470bd9d6b',
            mode: 'click',
            scene: 5,
            container: '#VAPTCHAContainer',
            area: 'auto',
        }).then(function (VAPTCHAObj) {
            // 将VAPTCHA验证实例保存到局部变量中
            obj = VAPTCHAObj;
            //保存一份全局的
            window.vobj = VAPTCHAObj;
            // 渲染验证组件
            VAPTCHAObj.render();

            // 验证成功进行后续操作
            VAPTCHAObj.listen('pass', function () {
                serverToken = VAPTCHAObj.getServerToken();

                //向注册表单插入server和token
                $("#edit-form").append("<input type='hidden' id='server' name='server' value='"+serverToken.server+"'>");
                $("#edit-form").append("<input type='hidden' id='token' name='token' value='"+serverToken.token+"'>");

            });
        });
        
    //点击
    $("#edit-button").on('click',function(){
        $.post('?c=User&a=editPwd',$("#edit-form").serialize(),function(result){
        var place = result.indexOf("{");
        var res = result.substring(place);
        res = JSON.parse(res);
        if(res.code==500){
            $.notify({
    		// options
    		    message: res.msg,
    		//url: '?c=User&a=showUser',
    		    target: '_self'
		  },{
    		// settings
    		    type: 'danger',
    		    delay: 5000,
    		    placement: {
    		    from: "top",
    		    align: "right"
    		}
		  });
        }else if(res.code==200){
            $.notify({
    		// options
    		    message: res.msg,
    		//url: '?c=User&a=showUser',
    		    target: '_self'
		  },{
    		// settings
    		    type: 'success',
    		    delay: 5000,
    		    placement: {
    		    from: "top",
    		    align: "right"
    		}
		  });
        }
         });
    });